import request from '@/axios/request';

// 获取出库记录列表
export function getStorageOutList(params: {
  search?: string
  start_date?: string
  end_date?: string
  page?: number
  page_size?: number
}) {
  return request({
    url: '/package-material/storage-out/list',
    method: 'get',
    params
  })
}

// 新增出库记录
export function addStorageOut(data: {
  materialCode: string
  quantity: number
  remark?: string
}) {
  return request({
    url: '/package-material/storage-out/add',
    method: 'post',
    data
  })
} 